/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ep1;


import java.util.Comparator;

/**
 *
 * @author Elizabeth.Bourke
 */
public class BookComparator implements Comparator<Book>{

    public int compare(Book book1, Book book2){

        return book1.getTitle().compareToIgnoreCase(book2.getTitle());
        

}

}
